"""API v1路由"""
from fastapi import APIRouter
from app.api.v1 import scan_tasks, scan_records, issues, field_configs

api_router = APIRouter(prefix="/api/v1")

# 注册路由
api_router.include_router(scan_tasks.router, prefix="/scan-tasks", tags=["扫描任务"])
api_router.include_router(scan_records.router, prefix="/scan-records", tags=["扫描记录"])
api_router.include_router(issues.router, prefix="/issues", tags=["扫描问题"])
api_router.include_router(field_configs.router, tags=["字段配置"])

__all__ = ["api_router"]

